package com.TJGD.projectModule.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class pRiskQuery {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer pageNo = 1;

    protected Integer startRow;

    protected Integer pageSize = 10;

    protected String fields;

    public pRiskQuery() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo=pageNo;
        this.startRow = (pageNo-1)*this.pageSize;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setStartRow(Integer startRow) {
        this.startRow=startRow;
    }

    public Integer getStartRow() {
        return startRow;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize=pageSize;
        this.startRow = (pageNo-1)*this.pageSize;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setFields(String fields) {
        this.fields=fields;
    }

    public String getFields() {
        return fields;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPridIsNull() {
            addCriterion("prid is null");
            return (Criteria) this;
        }

        public Criteria andPridIsNotNull() {
            addCriterion("prid is not null");
            return (Criteria) this;
        }

        public Criteria andPridEqualTo(Long value) {
            addCriterion("prid =", value, "prid");
            return (Criteria) this;
        }

        public Criteria andPridNotEqualTo(Long value) {
            addCriterion("prid <>", value, "prid");
            return (Criteria) this;
        }

        public Criteria andPridGreaterThan(Long value) {
            addCriterion("prid >", value, "prid");
            return (Criteria) this;
        }

        public Criteria andPridGreaterThanOrEqualTo(Long value) {
            addCriterion("prid >=", value, "prid");
            return (Criteria) this;
        }

        public Criteria andPridLessThan(Long value) {
            addCriterion("prid <", value, "prid");
            return (Criteria) this;
        }

        public Criteria andPridLessThanOrEqualTo(Long value) {
            addCriterion("prid <=", value, "prid");
            return (Criteria) this;
        }

        public Criteria andPridIn(List<Long> values) {
            addCriterion("prid in", values, "prid");
            return (Criteria) this;
        }

        public Criteria andPridNotIn(List<Long> values) {
            addCriterion("prid not in", values, "prid");
            return (Criteria) this;
        }

        public Criteria andPridBetween(Long value1, Long value2) {
            addCriterion("prid between", value1, value2, "prid");
            return (Criteria) this;
        }

        public Criteria andPridNotBetween(Long value1, Long value2) {
            addCriterion("prid not between", value1, value2, "prid");
            return (Criteria) this;
        }

        public Criteria andProjectRiskNumIsNull() {
            addCriterion("project_risk_num is null");
            return (Criteria) this;
        }

        public Criteria andProjectRiskNumIsNotNull() {
            addCriterion("project_risk_num is not null");
            return (Criteria) this;
        }

        public Criteria andProjectRiskNumEqualTo(String value) {
            addCriterion("project_risk_num =", value, "projectRiskNum");
            return (Criteria) this;
        }

        public Criteria andProjectRiskNumNotEqualTo(String value) {
            addCriterion("project_risk_num <>", value, "projectRiskNum");
            return (Criteria) this;
        }

        public Criteria andProjectRiskNumGreaterThan(String value) {
            addCriterion("project_risk_num >", value, "projectRiskNum");
            return (Criteria) this;
        }

        public Criteria andProjectRiskNumGreaterThanOrEqualTo(String value) {
            addCriterion("project_risk_num >=", value, "projectRiskNum");
            return (Criteria) this;
        }

        public Criteria andProjectRiskNumLessThan(String value) {
            addCriterion("project_risk_num <", value, "projectRiskNum");
            return (Criteria) this;
        }

        public Criteria andProjectRiskNumLessThanOrEqualTo(String value) {
            addCriterion("project_risk_num <=", value, "projectRiskNum");
            return (Criteria) this;
        }

        public Criteria andProjectRiskNumLike(String value) {
            addCriterion("project_risk_num like", value, "projectRiskNum");
            return (Criteria) this;
        }

        public Criteria andProjectRiskNumNotLike(String value) {
            addCriterion("project_risk_num not like", value, "projectRiskNum");
            return (Criteria) this;
        }

        public Criteria andProjectRiskNumIn(List<String> values) {
            addCriterion("project_risk_num in", values, "projectRiskNum");
            return (Criteria) this;
        }

        public Criteria andProjectRiskNumNotIn(List<String> values) {
            addCriterion("project_risk_num not in", values, "projectRiskNum");
            return (Criteria) this;
        }

        public Criteria andProjectRiskNumBetween(String value1, String value2) {
            addCriterion("project_risk_num between", value1, value2, "projectRiskNum");
            return (Criteria) this;
        }

        public Criteria andProjectRiskNumNotBetween(String value1, String value2) {
            addCriterion("project_risk_num not between", value1, value2, "projectRiskNum");
            return (Criteria) this;
        }

        public Criteria andRiskStatusIsNull() {
            addCriterion("risk_status is null");
            return (Criteria) this;
        }

        public Criteria andRiskStatusIsNotNull() {
            addCriterion("risk_status is not null");
            return (Criteria) this;
        }

        public Criteria andRiskStatusEqualTo(String value) {
            addCriterion("risk_status =", value, "riskStatus");
            return (Criteria) this;
        }

        public Criteria andRiskStatusNotEqualTo(String value) {
            addCriterion("risk_status <>", value, "riskStatus");
            return (Criteria) this;
        }

        public Criteria andRiskStatusGreaterThan(String value) {
            addCriterion("risk_status >", value, "riskStatus");
            return (Criteria) this;
        }

        public Criteria andRiskStatusGreaterThanOrEqualTo(String value) {
            addCriterion("risk_status >=", value, "riskStatus");
            return (Criteria) this;
        }

        public Criteria andRiskStatusLessThan(String value) {
            addCriterion("risk_status <", value, "riskStatus");
            return (Criteria) this;
        }

        public Criteria andRiskStatusLessThanOrEqualTo(String value) {
            addCriterion("risk_status <=", value, "riskStatus");
            return (Criteria) this;
        }

        public Criteria andRiskStatusLike(String value) {
            addCriterion("risk_status like", value, "riskStatus");
            return (Criteria) this;
        }

        public Criteria andRiskStatusNotLike(String value) {
            addCriterion("risk_status not like", value, "riskStatus");
            return (Criteria) this;
        }

        public Criteria andRiskStatusIn(List<String> values) {
            addCriterion("risk_status in", values, "riskStatus");
            return (Criteria) this;
        }

        public Criteria andRiskStatusNotIn(List<String> values) {
            addCriterion("risk_status not in", values, "riskStatus");
            return (Criteria) this;
        }

        public Criteria andRiskStatusBetween(String value1, String value2) {
            addCriterion("risk_status between", value1, value2, "riskStatus");
            return (Criteria) this;
        }

        public Criteria andRiskStatusNotBetween(String value1, String value2) {
            addCriterion("risk_status not between", value1, value2, "riskStatus");
            return (Criteria) this;
        }

        public Criteria andRiskTypeIsNull() {
            addCriterion("risk_type is null");
            return (Criteria) this;
        }

        public Criteria andRiskTypeIsNotNull() {
            addCriterion("risk_type is not null");
            return (Criteria) this;
        }

        public Criteria andRiskTypeEqualTo(String value) {
            addCriterion("risk_type =", value, "riskType");
            return (Criteria) this;
        }

        public Criteria andRiskTypeNotEqualTo(String value) {
            addCriterion("risk_type <>", value, "riskType");
            return (Criteria) this;
        }

        public Criteria andRiskTypeGreaterThan(String value) {
            addCriterion("risk_type >", value, "riskType");
            return (Criteria) this;
        }

        public Criteria andRiskTypeGreaterThanOrEqualTo(String value) {
            addCriterion("risk_type >=", value, "riskType");
            return (Criteria) this;
        }

        public Criteria andRiskTypeLessThan(String value) {
            addCriterion("risk_type <", value, "riskType");
            return (Criteria) this;
        }

        public Criteria andRiskTypeLessThanOrEqualTo(String value) {
            addCriterion("risk_type <=", value, "riskType");
            return (Criteria) this;
        }

        public Criteria andRiskTypeLike(String value) {
            addCriterion("risk_type like", value, "riskType");
            return (Criteria) this;
        }

        public Criteria andRiskTypeNotLike(String value) {
            addCriterion("risk_type not like", value, "riskType");
            return (Criteria) this;
        }

        public Criteria andRiskTypeIn(List<String> values) {
            addCriterion("risk_type in", values, "riskType");
            return (Criteria) this;
        }

        public Criteria andRiskTypeNotIn(List<String> values) {
            addCriterion("risk_type not in", values, "riskType");
            return (Criteria) this;
        }

        public Criteria andRiskTypeBetween(String value1, String value2) {
            addCriterion("risk_type between", value1, value2, "riskType");
            return (Criteria) this;
        }

        public Criteria andRiskTypeNotBetween(String value1, String value2) {
            addCriterion("risk_type not between", value1, value2, "riskType");
            return (Criteria) this;
        }

        public Criteria andRiskReasonIsNull() {
            addCriterion("risk_reason is null");
            return (Criteria) this;
        }

        public Criteria andRiskReasonIsNotNull() {
            addCriterion("risk_reason is not null");
            return (Criteria) this;
        }

        public Criteria andRiskReasonEqualTo(String value) {
            addCriterion("risk_reason =", value, "riskReason");
            return (Criteria) this;
        }

        public Criteria andRiskReasonNotEqualTo(String value) {
            addCriterion("risk_reason <>", value, "riskReason");
            return (Criteria) this;
        }

        public Criteria andRiskReasonGreaterThan(String value) {
            addCriterion("risk_reason >", value, "riskReason");
            return (Criteria) this;
        }

        public Criteria andRiskReasonGreaterThanOrEqualTo(String value) {
            addCriterion("risk_reason >=", value, "riskReason");
            return (Criteria) this;
        }

        public Criteria andRiskReasonLessThan(String value) {
            addCriterion("risk_reason <", value, "riskReason");
            return (Criteria) this;
        }

        public Criteria andRiskReasonLessThanOrEqualTo(String value) {
            addCriterion("risk_reason <=", value, "riskReason");
            return (Criteria) this;
        }

        public Criteria andRiskReasonLike(String value) {
            addCriterion("risk_reason like", value, "riskReason");
            return (Criteria) this;
        }

        public Criteria andRiskReasonNotLike(String value) {
            addCriterion("risk_reason not like", value, "riskReason");
            return (Criteria) this;
        }

        public Criteria andRiskReasonIn(List<String> values) {
            addCriterion("risk_reason in", values, "riskReason");
            return (Criteria) this;
        }

        public Criteria andRiskReasonNotIn(List<String> values) {
            addCriterion("risk_reason not in", values, "riskReason");
            return (Criteria) this;
        }

        public Criteria andRiskReasonBetween(String value1, String value2) {
            addCriterion("risk_reason between", value1, value2, "riskReason");
            return (Criteria) this;
        }

        public Criteria andRiskReasonNotBetween(String value1, String value2) {
            addCriterion("risk_reason not between", value1, value2, "riskReason");
            return (Criteria) this;
        }

        public Criteria andRiskResultIsNull() {
            addCriterion("risk_result is null");
            return (Criteria) this;
        }

        public Criteria andRiskResultIsNotNull() {
            addCriterion("risk_result is not null");
            return (Criteria) this;
        }

        public Criteria andRiskResultEqualTo(String value) {
            addCriterion("risk_result =", value, "riskResult");
            return (Criteria) this;
        }

        public Criteria andRiskResultNotEqualTo(String value) {
            addCriterion("risk_result <>", value, "riskResult");
            return (Criteria) this;
        }

        public Criteria andRiskResultGreaterThan(String value) {
            addCriterion("risk_result >", value, "riskResult");
            return (Criteria) this;
        }

        public Criteria andRiskResultGreaterThanOrEqualTo(String value) {
            addCriterion("risk_result >=", value, "riskResult");
            return (Criteria) this;
        }

        public Criteria andRiskResultLessThan(String value) {
            addCriterion("risk_result <", value, "riskResult");
            return (Criteria) this;
        }

        public Criteria andRiskResultLessThanOrEqualTo(String value) {
            addCriterion("risk_result <=", value, "riskResult");
            return (Criteria) this;
        }

        public Criteria andRiskResultLike(String value) {
            addCriterion("risk_result like", value, "riskResult");
            return (Criteria) this;
        }

        public Criteria andRiskResultNotLike(String value) {
            addCriterion("risk_result not like", value, "riskResult");
            return (Criteria) this;
        }

        public Criteria andRiskResultIn(List<String> values) {
            addCriterion("risk_result in", values, "riskResult");
            return (Criteria) this;
        }

        public Criteria andRiskResultNotIn(List<String> values) {
            addCriterion("risk_result not in", values, "riskResult");
            return (Criteria) this;
        }

        public Criteria andRiskResultBetween(String value1, String value2) {
            addCriterion("risk_result between", value1, value2, "riskResult");
            return (Criteria) this;
        }

        public Criteria andRiskResultNotBetween(String value1, String value2) {
            addCriterion("risk_result not between", value1, value2, "riskResult");
            return (Criteria) this;
        }

        public Criteria andResultLevelIsNull() {
            addCriterion("result_level is null");
            return (Criteria) this;
        }

        public Criteria andResultLevelIsNotNull() {
            addCriterion("result_level is not null");
            return (Criteria) this;
        }

        public Criteria andResultLevelEqualTo(String value) {
            addCriterion("result_level =", value, "resultLevel");
            return (Criteria) this;
        }

        public Criteria andResultLevelNotEqualTo(String value) {
            addCriterion("result_level <>", value, "resultLevel");
            return (Criteria) this;
        }

        public Criteria andResultLevelGreaterThan(String value) {
            addCriterion("result_level >", value, "resultLevel");
            return (Criteria) this;
        }

        public Criteria andResultLevelGreaterThanOrEqualTo(String value) {
            addCriterion("result_level >=", value, "resultLevel");
            return (Criteria) this;
        }

        public Criteria andResultLevelLessThan(String value) {
            addCriterion("result_level <", value, "resultLevel");
            return (Criteria) this;
        }

        public Criteria andResultLevelLessThanOrEqualTo(String value) {
            addCriterion("result_level <=", value, "resultLevel");
            return (Criteria) this;
        }

        public Criteria andResultLevelLike(String value) {
            addCriterion("result_level like", value, "resultLevel");
            return (Criteria) this;
        }

        public Criteria andResultLevelNotLike(String value) {
            addCriterion("result_level not like", value, "resultLevel");
            return (Criteria) this;
        }

        public Criteria andResultLevelIn(List<String> values) {
            addCriterion("result_level in", values, "resultLevel");
            return (Criteria) this;
        }

        public Criteria andResultLevelNotIn(List<String> values) {
            addCriterion("result_level not in", values, "resultLevel");
            return (Criteria) this;
        }

        public Criteria andResultLevelBetween(String value1, String value2) {
            addCriterion("result_level between", value1, value2, "resultLevel");
            return (Criteria) this;
        }

        public Criteria andResultLevelNotBetween(String value1, String value2) {
            addCriterion("result_level not between", value1, value2, "resultLevel");
            return (Criteria) this;
        }

        public Criteria andPosibleIsNull() {
            addCriterion("posible is null");
            return (Criteria) this;
        }

        public Criteria andPosibleIsNotNull() {
            addCriterion("posible is not null");
            return (Criteria) this;
        }

        public Criteria andPosibleEqualTo(Float value) {
            addCriterion("posible =", value, "posible");
            return (Criteria) this;
        }

        public Criteria andPosibleNotEqualTo(Float value) {
            addCriterion("posible <>", value, "posible");
            return (Criteria) this;
        }

        public Criteria andPosibleGreaterThan(Float value) {
            addCriterion("posible >", value, "posible");
            return (Criteria) this;
        }

        public Criteria andPosibleGreaterThanOrEqualTo(Float value) {
            addCriterion("posible >=", value, "posible");
            return (Criteria) this;
        }

        public Criteria andPosibleLessThan(Float value) {
            addCriterion("posible <", value, "posible");
            return (Criteria) this;
        }

        public Criteria andPosibleLessThanOrEqualTo(Float value) {
            addCriterion("posible <=", value, "posible");
            return (Criteria) this;
        }

        public Criteria andPosibleIn(List<Float> values) {
            addCriterion("posible in", values, "posible");
            return (Criteria) this;
        }

        public Criteria andPosibleNotIn(List<Float> values) {
            addCriterion("posible not in", values, "posible");
            return (Criteria) this;
        }

        public Criteria andPosibleBetween(Float value1, Float value2) {
            addCriterion("posible between", value1, value2, "posible");
            return (Criteria) this;
        }

        public Criteria andPosibleNotBetween(Float value1, Float value2) {
            addCriterion("posible not between", value1, value2, "posible");
            return (Criteria) this;
        }

        public Criteria andIdentityTimeIsNull() {
            addCriterion("identity_time is null");
            return (Criteria) this;
        }

        public Criteria andIdentityTimeIsNotNull() {
            addCriterion("identity_time is not null");
            return (Criteria) this;
        }

        public Criteria andIdentityTimeEqualTo(Date value) {
            addCriterion("identity_time =", value, "identityTime");
            return (Criteria) this;
        }

        public Criteria andIdentityTimeNotEqualTo(Date value) {
            addCriterion("identity_time <>", value, "identityTime");
            return (Criteria) this;
        }

        public Criteria andIdentityTimeGreaterThan(Date value) {
            addCriterion("identity_time >", value, "identityTime");
            return (Criteria) this;
        }

        public Criteria andIdentityTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("identity_time >=", value, "identityTime");
            return (Criteria) this;
        }

        public Criteria andIdentityTimeLessThan(Date value) {
            addCriterion("identity_time <", value, "identityTime");
            return (Criteria) this;
        }

        public Criteria andIdentityTimeLessThanOrEqualTo(Date value) {
            addCriterion("identity_time <=", value, "identityTime");
            return (Criteria) this;
        }

        public Criteria andIdentityTimeIn(List<Date> values) {
            addCriterion("identity_time in", values, "identityTime");
            return (Criteria) this;
        }

        public Criteria andIdentityTimeNotIn(List<Date> values) {
            addCriterion("identity_time not in", values, "identityTime");
            return (Criteria) this;
        }

        public Criteria andIdentityTimeBetween(Date value1, Date value2) {
            addCriterion("identity_time between", value1, value2, "identityTime");
            return (Criteria) this;
        }

        public Criteria andIdentityTimeNotBetween(Date value1, Date value2) {
            addCriterion("identity_time not between", value1, value2, "identityTime");
            return (Criteria) this;
        }

        public Criteria andIdentityHumanIsNull() {
            addCriterion("identity_human is null");
            return (Criteria) this;
        }

        public Criteria andIdentityHumanIsNotNull() {
            addCriterion("identity_human is not null");
            return (Criteria) this;
        }

        public Criteria andIdentityHumanEqualTo(String value) {
            addCriterion("identity_human =", value, "identityHuman");
            return (Criteria) this;
        }

        public Criteria andIdentityHumanNotEqualTo(String value) {
            addCriterion("identity_human <>", value, "identityHuman");
            return (Criteria) this;
        }

        public Criteria andIdentityHumanGreaterThan(String value) {
            addCriterion("identity_human >", value, "identityHuman");
            return (Criteria) this;
        }

        public Criteria andIdentityHumanGreaterThanOrEqualTo(String value) {
            addCriterion("identity_human >=", value, "identityHuman");
            return (Criteria) this;
        }

        public Criteria andIdentityHumanLessThan(String value) {
            addCriterion("identity_human <", value, "identityHuman");
            return (Criteria) this;
        }

        public Criteria andIdentityHumanLessThanOrEqualTo(String value) {
            addCriterion("identity_human <=", value, "identityHuman");
            return (Criteria) this;
        }

        public Criteria andIdentityHumanLike(String value) {
            addCriterion("identity_human like", value, "identityHuman");
            return (Criteria) this;
        }

        public Criteria andIdentityHumanNotLike(String value) {
            addCriterion("identity_human not like", value, "identityHuman");
            return (Criteria) this;
        }

        public Criteria andIdentityHumanIn(List<String> values) {
            addCriterion("identity_human in", values, "identityHuman");
            return (Criteria) this;
        }

        public Criteria andIdentityHumanNotIn(List<String> values) {
            addCriterion("identity_human not in", values, "identityHuman");
            return (Criteria) this;
        }

        public Criteria andIdentityHumanBetween(String value1, String value2) {
            addCriterion("identity_human between", value1, value2, "identityHuman");
            return (Criteria) this;
        }

        public Criteria andIdentityHumanNotBetween(String value1, String value2) {
            addCriterion("identity_human not between", value1, value2, "identityHuman");
            return (Criteria) this;
        }

        public Criteria andExcuteStrategyIsNull() {
            addCriterion("excute_strategy is null");
            return (Criteria) this;
        }

        public Criteria andExcuteStrategyIsNotNull() {
            addCriterion("excute_strategy is not null");
            return (Criteria) this;
        }

        public Criteria andExcuteStrategyEqualTo(String value) {
            addCriterion("excute_strategy =", value, "excuteStrategy");
            return (Criteria) this;
        }

        public Criteria andExcuteStrategyNotEqualTo(String value) {
            addCriterion("excute_strategy <>", value, "excuteStrategy");
            return (Criteria) this;
        }

        public Criteria andExcuteStrategyGreaterThan(String value) {
            addCriterion("excute_strategy >", value, "excuteStrategy");
            return (Criteria) this;
        }

        public Criteria andExcuteStrategyGreaterThanOrEqualTo(String value) {
            addCriterion("excute_strategy >=", value, "excuteStrategy");
            return (Criteria) this;
        }

        public Criteria andExcuteStrategyLessThan(String value) {
            addCriterion("excute_strategy <", value, "excuteStrategy");
            return (Criteria) this;
        }

        public Criteria andExcuteStrategyLessThanOrEqualTo(String value) {
            addCriterion("excute_strategy <=", value, "excuteStrategy");
            return (Criteria) this;
        }

        public Criteria andExcuteStrategyLike(String value) {
            addCriterion("excute_strategy like", value, "excuteStrategy");
            return (Criteria) this;
        }

        public Criteria andExcuteStrategyNotLike(String value) {
            addCriterion("excute_strategy not like", value, "excuteStrategy");
            return (Criteria) this;
        }

        public Criteria andExcuteStrategyIn(List<String> values) {
            addCriterion("excute_strategy in", values, "excuteStrategy");
            return (Criteria) this;
        }

        public Criteria andExcuteStrategyNotIn(List<String> values) {
            addCriterion("excute_strategy not in", values, "excuteStrategy");
            return (Criteria) this;
        }

        public Criteria andExcuteStrategyBetween(String value1, String value2) {
            addCriterion("excute_strategy between", value1, value2, "excuteStrategy");
            return (Criteria) this;
        }

        public Criteria andExcuteStrategyNotBetween(String value1, String value2) {
            addCriterion("excute_strategy not between", value1, value2, "excuteStrategy");
            return (Criteria) this;
        }

        public Criteria andReduceRiskStrategyIsNull() {
            addCriterion("reduce_risk_strategy is null");
            return (Criteria) this;
        }

        public Criteria andReduceRiskStrategyIsNotNull() {
            addCriterion("reduce_risk_strategy is not null");
            return (Criteria) this;
        }

        public Criteria andReduceRiskStrategyEqualTo(String value) {
            addCriterion("reduce_risk_strategy =", value, "reduceRiskStrategy");
            return (Criteria) this;
        }

        public Criteria andReduceRiskStrategyNotEqualTo(String value) {
            addCriterion("reduce_risk_strategy <>", value, "reduceRiskStrategy");
            return (Criteria) this;
        }

        public Criteria andReduceRiskStrategyGreaterThan(String value) {
            addCriterion("reduce_risk_strategy >", value, "reduceRiskStrategy");
            return (Criteria) this;
        }

        public Criteria andReduceRiskStrategyGreaterThanOrEqualTo(String value) {
            addCriterion("reduce_risk_strategy >=", value, "reduceRiskStrategy");
            return (Criteria) this;
        }

        public Criteria andReduceRiskStrategyLessThan(String value) {
            addCriterion("reduce_risk_strategy <", value, "reduceRiskStrategy");
            return (Criteria) this;
        }

        public Criteria andReduceRiskStrategyLessThanOrEqualTo(String value) {
            addCriterion("reduce_risk_strategy <=", value, "reduceRiskStrategy");
            return (Criteria) this;
        }

        public Criteria andReduceRiskStrategyLike(String value) {
            addCriterion("reduce_risk_strategy like", value, "reduceRiskStrategy");
            return (Criteria) this;
        }

        public Criteria andReduceRiskStrategyNotLike(String value) {
            addCriterion("reduce_risk_strategy not like", value, "reduceRiskStrategy");
            return (Criteria) this;
        }

        public Criteria andReduceRiskStrategyIn(List<String> values) {
            addCriterion("reduce_risk_strategy in", values, "reduceRiskStrategy");
            return (Criteria) this;
        }

        public Criteria andReduceRiskStrategyNotIn(List<String> values) {
            addCriterion("reduce_risk_strategy not in", values, "reduceRiskStrategy");
            return (Criteria) this;
        }

        public Criteria andReduceRiskStrategyBetween(String value1, String value2) {
            addCriterion("reduce_risk_strategy between", value1, value2, "reduceRiskStrategy");
            return (Criteria) this;
        }

        public Criteria andReduceRiskStrategyNotBetween(String value1, String value2) {
            addCriterion("reduce_risk_strategy not between", value1, value2, "reduceRiskStrategy");
            return (Criteria) this;
        }

        public Criteria andEmergencyMeasureIsNull() {
            addCriterion("emergency_measure is null");
            return (Criteria) this;
        }

        public Criteria andEmergencyMeasureIsNotNull() {
            addCriterion("emergency_measure is not null");
            return (Criteria) this;
        }

        public Criteria andEmergencyMeasureEqualTo(String value) {
            addCriterion("emergency_measure =", value, "emergencyMeasure");
            return (Criteria) this;
        }

        public Criteria andEmergencyMeasureNotEqualTo(String value) {
            addCriterion("emergency_measure <>", value, "emergencyMeasure");
            return (Criteria) this;
        }

        public Criteria andEmergencyMeasureGreaterThan(String value) {
            addCriterion("emergency_measure >", value, "emergencyMeasure");
            return (Criteria) this;
        }

        public Criteria andEmergencyMeasureGreaterThanOrEqualTo(String value) {
            addCriterion("emergency_measure >=", value, "emergencyMeasure");
            return (Criteria) this;
        }

        public Criteria andEmergencyMeasureLessThan(String value) {
            addCriterion("emergency_measure <", value, "emergencyMeasure");
            return (Criteria) this;
        }

        public Criteria andEmergencyMeasureLessThanOrEqualTo(String value) {
            addCriterion("emergency_measure <=", value, "emergencyMeasure");
            return (Criteria) this;
        }

        public Criteria andEmergencyMeasureLike(String value) {
            addCriterion("emergency_measure like", value, "emergencyMeasure");
            return (Criteria) this;
        }

        public Criteria andEmergencyMeasureNotLike(String value) {
            addCriterion("emergency_measure not like", value, "emergencyMeasure");
            return (Criteria) this;
        }

        public Criteria andEmergencyMeasureIn(List<String> values) {
            addCriterion("emergency_measure in", values, "emergencyMeasure");
            return (Criteria) this;
        }

        public Criteria andEmergencyMeasureNotIn(List<String> values) {
            addCriterion("emergency_measure not in", values, "emergencyMeasure");
            return (Criteria) this;
        }

        public Criteria andEmergencyMeasureBetween(String value1, String value2) {
            addCriterion("emergency_measure between", value1, value2, "emergencyMeasure");
            return (Criteria) this;
        }

        public Criteria andEmergencyMeasureNotBetween(String value1, String value2) {
            addCriterion("emergency_measure not between", value1, value2, "emergencyMeasure");
            return (Criteria) this;
        }

        public Criteria andExcuteInfoIsNull() {
            addCriterion("excute_info is null");
            return (Criteria) this;
        }

        public Criteria andExcuteInfoIsNotNull() {
            addCriterion("excute_info is not null");
            return (Criteria) this;
        }

        public Criteria andExcuteInfoEqualTo(String value) {
            addCriterion("excute_info =", value, "excuteInfo");
            return (Criteria) this;
        }

        public Criteria andExcuteInfoNotEqualTo(String value) {
            addCriterion("excute_info <>", value, "excuteInfo");
            return (Criteria) this;
        }

        public Criteria andExcuteInfoGreaterThan(String value) {
            addCriterion("excute_info >", value, "excuteInfo");
            return (Criteria) this;
        }

        public Criteria andExcuteInfoGreaterThanOrEqualTo(String value) {
            addCriterion("excute_info >=", value, "excuteInfo");
            return (Criteria) this;
        }

        public Criteria andExcuteInfoLessThan(String value) {
            addCriterion("excute_info <", value, "excuteInfo");
            return (Criteria) this;
        }

        public Criteria andExcuteInfoLessThanOrEqualTo(String value) {
            addCriterion("excute_info <=", value, "excuteInfo");
            return (Criteria) this;
        }

        public Criteria andExcuteInfoLike(String value) {
            addCriterion("excute_info like", value, "excuteInfo");
            return (Criteria) this;
        }

        public Criteria andExcuteInfoNotLike(String value) {
            addCriterion("excute_info not like", value, "excuteInfo");
            return (Criteria) this;
        }

        public Criteria andExcuteInfoIn(List<String> values) {
            addCriterion("excute_info in", values, "excuteInfo");
            return (Criteria) this;
        }

        public Criteria andExcuteInfoNotIn(List<String> values) {
            addCriterion("excute_info not in", values, "excuteInfo");
            return (Criteria) this;
        }

        public Criteria andExcuteInfoBetween(String value1, String value2) {
            addCriterion("excute_info between", value1, value2, "excuteInfo");
            return (Criteria) this;
        }

        public Criteria andExcuteInfoNotBetween(String value1, String value2) {
            addCriterion("excute_info not between", value1, value2, "excuteInfo");
            return (Criteria) this;
        }

        public Criteria andExcuteHumanIsNull() {
            addCriterion("excute_human is null");
            return (Criteria) this;
        }

        public Criteria andExcuteHumanIsNotNull() {
            addCriterion("excute_human is not null");
            return (Criteria) this;
        }

        public Criteria andExcuteHumanEqualTo(String value) {
            addCriterion("excute_human =", value, "excuteHuman");
            return (Criteria) this;
        }

        public Criteria andExcuteHumanNotEqualTo(String value) {
            addCriterion("excute_human <>", value, "excuteHuman");
            return (Criteria) this;
        }

        public Criteria andExcuteHumanGreaterThan(String value) {
            addCriterion("excute_human >", value, "excuteHuman");
            return (Criteria) this;
        }

        public Criteria andExcuteHumanGreaterThanOrEqualTo(String value) {
            addCriterion("excute_human >=", value, "excuteHuman");
            return (Criteria) this;
        }

        public Criteria andExcuteHumanLessThan(String value) {
            addCriterion("excute_human <", value, "excuteHuman");
            return (Criteria) this;
        }

        public Criteria andExcuteHumanLessThanOrEqualTo(String value) {
            addCriterion("excute_human <=", value, "excuteHuman");
            return (Criteria) this;
        }

        public Criteria andExcuteHumanLike(String value) {
            addCriterion("excute_human like", value, "excuteHuman");
            return (Criteria) this;
        }

        public Criteria andExcuteHumanNotLike(String value) {
            addCriterion("excute_human not like", value, "excuteHuman");
            return (Criteria) this;
        }

        public Criteria andExcuteHumanIn(List<String> values) {
            addCriterion("excute_human in", values, "excuteHuman");
            return (Criteria) this;
        }

        public Criteria andExcuteHumanNotIn(List<String> values) {
            addCriterion("excute_human not in", values, "excuteHuman");
            return (Criteria) this;
        }

        public Criteria andExcuteHumanBetween(String value1, String value2) {
            addCriterion("excute_human between", value1, value2, "excuteHuman");
            return (Criteria) this;
        }

        public Criteria andExcuteHumanNotBetween(String value1, String value2) {
            addCriterion("excute_human not between", value1, value2, "excuteHuman");
            return (Criteria) this;
        }

        public Criteria andExcuteTimeIsNull() {
            addCriterion("excute_time is null");
            return (Criteria) this;
        }

        public Criteria andExcuteTimeIsNotNull() {
            addCriterion("excute_time is not null");
            return (Criteria) this;
        }

        public Criteria andExcuteTimeEqualTo(Date value) {
            addCriterion("excute_time =", value, "excuteTime");
            return (Criteria) this;
        }

        public Criteria andExcuteTimeNotEqualTo(Date value) {
            addCriterion("excute_time <>", value, "excuteTime");
            return (Criteria) this;
        }

        public Criteria andExcuteTimeGreaterThan(Date value) {
            addCriterion("excute_time >", value, "excuteTime");
            return (Criteria) this;
        }

        public Criteria andExcuteTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("excute_time >=", value, "excuteTime");
            return (Criteria) this;
        }

        public Criteria andExcuteTimeLessThan(Date value) {
            addCriterion("excute_time <", value, "excuteTime");
            return (Criteria) this;
        }

        public Criteria andExcuteTimeLessThanOrEqualTo(Date value) {
            addCriterion("excute_time <=", value, "excuteTime");
            return (Criteria) this;
        }

        public Criteria andExcuteTimeIn(List<Date> values) {
            addCriterion("excute_time in", values, "excuteTime");
            return (Criteria) this;
        }

        public Criteria andExcuteTimeNotIn(List<Date> values) {
            addCriterion("excute_time not in", values, "excuteTime");
            return (Criteria) this;
        }

        public Criteria andExcuteTimeBetween(Date value1, Date value2) {
            addCriterion("excute_time between", value1, value2, "excuteTime");
            return (Criteria) this;
        }

        public Criteria andExcuteTimeNotBetween(Date value1, Date value2) {
            addCriterion("excute_time not between", value1, value2, "excuteTime");
            return (Criteria) this;
        }

        public Criteria andHappenTimeIsNull() {
            addCriterion("happen_time is null");
            return (Criteria) this;
        }

        public Criteria andHappenTimeIsNotNull() {
            addCriterion("happen_time is not null");
            return (Criteria) this;
        }

        public Criteria andHappenTimeEqualTo(Date value) {
            addCriterion("happen_time =", value, "happenTime");
            return (Criteria) this;
        }

        public Criteria andHappenTimeNotEqualTo(Date value) {
            addCriterion("happen_time <>", value, "happenTime");
            return (Criteria) this;
        }

        public Criteria andHappenTimeGreaterThan(Date value) {
            addCriterion("happen_time >", value, "happenTime");
            return (Criteria) this;
        }

        public Criteria andHappenTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("happen_time >=", value, "happenTime");
            return (Criteria) this;
        }

        public Criteria andHappenTimeLessThan(Date value) {
            addCriterion("happen_time <", value, "happenTime");
            return (Criteria) this;
        }

        public Criteria andHappenTimeLessThanOrEqualTo(Date value) {
            addCriterion("happen_time <=", value, "happenTime");
            return (Criteria) this;
        }

        public Criteria andHappenTimeIn(List<Date> values) {
            addCriterion("happen_time in", values, "happenTime");
            return (Criteria) this;
        }

        public Criteria andHappenTimeNotIn(List<Date> values) {
            addCriterion("happen_time not in", values, "happenTime");
            return (Criteria) this;
        }

        public Criteria andHappenTimeBetween(Date value1, Date value2) {
            addCriterion("happen_time between", value1, value2, "happenTime");
            return (Criteria) this;
        }

        public Criteria andHappenTimeNotBetween(Date value1, Date value2) {
            addCriterion("happen_time not between", value1, value2, "happenTime");
            return (Criteria) this;
        }

        public Criteria andHappenReasonIsNull() {
            addCriterion("happen_reason is null");
            return (Criteria) this;
        }

        public Criteria andHappenReasonIsNotNull() {
            addCriterion("happen_reason is not null");
            return (Criteria) this;
        }

        public Criteria andHappenReasonEqualTo(String value) {
            addCriterion("happen_reason =", value, "happenReason");
            return (Criteria) this;
        }

        public Criteria andHappenReasonNotEqualTo(String value) {
            addCriterion("happen_reason <>", value, "happenReason");
            return (Criteria) this;
        }

        public Criteria andHappenReasonGreaterThan(String value) {
            addCriterion("happen_reason >", value, "happenReason");
            return (Criteria) this;
        }

        public Criteria andHappenReasonGreaterThanOrEqualTo(String value) {
            addCriterion("happen_reason >=", value, "happenReason");
            return (Criteria) this;
        }

        public Criteria andHappenReasonLessThan(String value) {
            addCriterion("happen_reason <", value, "happenReason");
            return (Criteria) this;
        }

        public Criteria andHappenReasonLessThanOrEqualTo(String value) {
            addCriterion("happen_reason <=", value, "happenReason");
            return (Criteria) this;
        }

        public Criteria andHappenReasonLike(String value) {
            addCriterion("happen_reason like", value, "happenReason");
            return (Criteria) this;
        }

        public Criteria andHappenReasonNotLike(String value) {
            addCriterion("happen_reason not like", value, "happenReason");
            return (Criteria) this;
        }

        public Criteria andHappenReasonIn(List<String> values) {
            addCriterion("happen_reason in", values, "happenReason");
            return (Criteria) this;
        }

        public Criteria andHappenReasonNotIn(List<String> values) {
            addCriterion("happen_reason not in", values, "happenReason");
            return (Criteria) this;
        }

        public Criteria andHappenReasonBetween(String value1, String value2) {
            addCriterion("happen_reason between", value1, value2, "happenReason");
            return (Criteria) this;
        }

        public Criteria andHappenReasonNotBetween(String value1, String value2) {
            addCriterion("happen_reason not between", value1, value2, "happenReason");
            return (Criteria) this;
        }

        public Criteria andTreatementMeasureIsNull() {
            addCriterion("treatement_measure is null");
            return (Criteria) this;
        }

        public Criteria andTreatementMeasureIsNotNull() {
            addCriterion("treatement_measure is not null");
            return (Criteria) this;
        }

        public Criteria andTreatementMeasureEqualTo(String value) {
            addCriterion("treatement_measure =", value, "treatementMeasure");
            return (Criteria) this;
        }

        public Criteria andTreatementMeasureNotEqualTo(String value) {
            addCriterion("treatement_measure <>", value, "treatementMeasure");
            return (Criteria) this;
        }

        public Criteria andTreatementMeasureGreaterThan(String value) {
            addCriterion("treatement_measure >", value, "treatementMeasure");
            return (Criteria) this;
        }

        public Criteria andTreatementMeasureGreaterThanOrEqualTo(String value) {
            addCriterion("treatement_measure >=", value, "treatementMeasure");
            return (Criteria) this;
        }

        public Criteria andTreatementMeasureLessThan(String value) {
            addCriterion("treatement_measure <", value, "treatementMeasure");
            return (Criteria) this;
        }

        public Criteria andTreatementMeasureLessThanOrEqualTo(String value) {
            addCriterion("treatement_measure <=", value, "treatementMeasure");
            return (Criteria) this;
        }

        public Criteria andTreatementMeasureLike(String value) {
            addCriterion("treatement_measure like", value, "treatementMeasure");
            return (Criteria) this;
        }

        public Criteria andTreatementMeasureNotLike(String value) {
            addCriterion("treatement_measure not like", value, "treatementMeasure");
            return (Criteria) this;
        }

        public Criteria andTreatementMeasureIn(List<String> values) {
            addCriterion("treatement_measure in", values, "treatementMeasure");
            return (Criteria) this;
        }

        public Criteria andTreatementMeasureNotIn(List<String> values) {
            addCriterion("treatement_measure not in", values, "treatementMeasure");
            return (Criteria) this;
        }

        public Criteria andTreatementMeasureBetween(String value1, String value2) {
            addCriterion("treatement_measure between", value1, value2, "treatementMeasure");
            return (Criteria) this;
        }

        public Criteria andTreatementMeasureNotBetween(String value1, String value2) {
            addCriterion("treatement_measure not between", value1, value2, "treatementMeasure");
            return (Criteria) this;
        }

        public Criteria andTreatementHumanIsNull() {
            addCriterion("treatement_human is null");
            return (Criteria) this;
        }

        public Criteria andTreatementHumanIsNotNull() {
            addCriterion("treatement_human is not null");
            return (Criteria) this;
        }

        public Criteria andTreatementHumanEqualTo(String value) {
            addCriterion("treatement_human =", value, "treatementHuman");
            return (Criteria) this;
        }

        public Criteria andTreatementHumanNotEqualTo(String value) {
            addCriterion("treatement_human <>", value, "treatementHuman");
            return (Criteria) this;
        }

        public Criteria andTreatementHumanGreaterThan(String value) {
            addCriterion("treatement_human >", value, "treatementHuman");
            return (Criteria) this;
        }

        public Criteria andTreatementHumanGreaterThanOrEqualTo(String value) {
            addCriterion("treatement_human >=", value, "treatementHuman");
            return (Criteria) this;
        }

        public Criteria andTreatementHumanLessThan(String value) {
            addCriterion("treatement_human <", value, "treatementHuman");
            return (Criteria) this;
        }

        public Criteria andTreatementHumanLessThanOrEqualTo(String value) {
            addCriterion("treatement_human <=", value, "treatementHuman");
            return (Criteria) this;
        }

        public Criteria andTreatementHumanLike(String value) {
            addCriterion("treatement_human like", value, "treatementHuman");
            return (Criteria) this;
        }

        public Criteria andTreatementHumanNotLike(String value) {
            addCriterion("treatement_human not like", value, "treatementHuman");
            return (Criteria) this;
        }

        public Criteria andTreatementHumanIn(List<String> values) {
            addCriterion("treatement_human in", values, "treatementHuman");
            return (Criteria) this;
        }

        public Criteria andTreatementHumanNotIn(List<String> values) {
            addCriterion("treatement_human not in", values, "treatementHuman");
            return (Criteria) this;
        }

        public Criteria andTreatementHumanBetween(String value1, String value2) {
            addCriterion("treatement_human between", value1, value2, "treatementHuman");
            return (Criteria) this;
        }

        public Criteria andTreatementHumanNotBetween(String value1, String value2) {
            addCriterion("treatement_human not between", value1, value2, "treatementHuman");
            return (Criteria) this;
        }

        public Criteria andCloseTimeIsNull() {
            addCriterion("close_time is null");
            return (Criteria) this;
        }

        public Criteria andCloseTimeIsNotNull() {
            addCriterion("close_time is not null");
            return (Criteria) this;
        }

        public Criteria andCloseTimeEqualTo(Date value) {
            addCriterion("close_time =", value, "closeTime");
            return (Criteria) this;
        }

        public Criteria andCloseTimeNotEqualTo(Date value) {
            addCriterion("close_time <>", value, "closeTime");
            return (Criteria) this;
        }

        public Criteria andCloseTimeGreaterThan(Date value) {
            addCriterion("close_time >", value, "closeTime");
            return (Criteria) this;
        }

        public Criteria andCloseTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("close_time >=", value, "closeTime");
            return (Criteria) this;
        }

        public Criteria andCloseTimeLessThan(Date value) {
            addCriterion("close_time <", value, "closeTime");
            return (Criteria) this;
        }

        public Criteria andCloseTimeLessThanOrEqualTo(Date value) {
            addCriterion("close_time <=", value, "closeTime");
            return (Criteria) this;
        }

        public Criteria andCloseTimeIn(List<Date> values) {
            addCriterion("close_time in", values, "closeTime");
            return (Criteria) this;
        }

        public Criteria andCloseTimeNotIn(List<Date> values) {
            addCriterion("close_time not in", values, "closeTime");
            return (Criteria) this;
        }

        public Criteria andCloseTimeBetween(Date value1, Date value2) {
            addCriterion("close_time between", value1, value2, "closeTime");
            return (Criteria) this;
        }

        public Criteria andCloseTimeNotBetween(Date value1, Date value2) {
            addCriterion("close_time not between", value1, value2, "closeTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}